<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Title</title>
    <style>
        .a1{
            width: 100px;
            height: 100px;
            padding: 5px;
            border-radius: 5px;
            background-color: #333;
            display: flex;
            flex-wrap: wrap;
        }
        .as1{
            width: 30px;
            height: 30px;
            margin: 1px;
            border-radius: 30px;
            background-color:#fff;
        }
        span{
            display: block;
        }
    </style>
</head>
<body>
    <div class="a1">
        <div class="as1"></div>
        <div class="as1"></div>
        <div class="as1"></div>
        <div class="as1"></div>
        <div class="as1"></div>
        <div class="as1"></div>
        <div class="as1"></div>
        <div class="as1"></div>
        <div class="as1"></div>
    </div>


</body>
</html>